<div class="main">
  <div class="top-title">我的产品新增/编辑</div>
  <el-form
    :model="ruleForm"
    :rules="rules"
    ref="ruleForm"
    label-width="100px"
    class="ruleForm"
  >
    <el-form-item label="品种名称" prop="name">
      <el-input v-model="ruleForm.name"></el-input>
    </el-form-item>
    <el-form-item label="登记编号" prop="name">
      <el-input v-model="ruleForm.name"></el-input>
    </el-form-item>
    <el-form-item label="品种分类" prop="region">
      <el-select
        v-model="ruleForm.region"
        placeholder="请选择品种分类"
        style="width:100%"
      >
        <el-option label="品种分类一" value="shanghai"></el-option>
        <el-option label="品种分类二" value="beijing"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="品种级别" prop="region">
      <el-select
        v-model="ruleForm.region"
        placeholder="请选择品种级别"
        style="width:100%"
      >
        <el-option label="品种级别一" value="shanghai"></el-option>
        <el-option label="品种级别二" value="beijing"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="选育单位" prop="region">
      <el-select
        v-model="ruleForm.region"
        placeholder="请选择选育单位"
        style="width:100%"
      >
        <el-option label="选育单位一" value="shanghai"></el-option>
        <el-option label="选育单位二" value="beijing"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="是否为转基因">
      <el-radio-group v-model="ruleForm.name">
        <el-radio label="是"></el-radio>
        <el-radio label="否"></el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="品种描述" prop="desc">
      <el-input type="textarea" v-model="ruleForm.desc"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
      <el-button @click="resetForm('ruleForm')">重置</el-button>
    </el-form-item>
  </el-form>
</div>
